<template>
  <div>请求接口</div>
</template>
<script setup lang="ts">
import http from "@/utils/http"
import {onMounted} from "vue";

onMounted(async()=>{
  const res = await http.get("/product_type/list",{
    params:{
      page_num:1,
      page_size:10
    }
  })
  console.log(res)
})

</script>